package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.team.employment.model.enums.ActiveStatus;
import com.team.employment.model.enums.BaseStatus;
import com.team.employment.model.enums.ReleaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 招聘信息表
 * @TableName recruitment_info
 */

@Schema(description = "招聘信息表")
@TableName(value ="recruitment_info")
@Data
public class RecruitmentInfo extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 公司id
     */
    @Schema(description = "公司id")
    @TableField(value = "company_id")
    private Long companyId;

    /**
     * 招聘职位
     */
    @Schema(description = "招聘职位")
    @TableField(value = "position")
    private String position;

    /**
     * 招聘要求
     */
    @Schema(description = "招聘要求")
    @TableField(value = "requirements")
    private String requirements;

    /**
     * 最低薪资，单位:K/月
     */
    @Schema(description = "最低薪资")
    @TableField(value = "salary")
    private Long salary;

    /**
     * 招聘发布日期
     */
    @Schema(description = "招聘发布日期")
    @TableField(value = "release_date")
    private Date releaseDate;

    /**
     * 招聘截至日期
     */
    @Schema(description = "招聘截至日期")
    @TableField(value = "end_date")
    private Date endDate;

    /**
     * 招聘信息是否有效,默认1
     */
    @Schema(description = "招聘信息是否有效")
    @TableField(value = "is_active")
    private ActiveStatus isActive;

    /**
     * 是否发布(0未发布,1已发布)
     */
    @Schema(description = "是否发布")
    @TableField(value = "is_release")
    private ReleaseStatus isRelease;

    /**
     * 招聘信息审核状态(0未审核,1已审核)
     */
    @Schema(description = "招聘信息审核状态")
    @TableField(value = "status")
    private BaseStatus status;


}